#include "userModularFunctionInteger.hh"


void userModularFunctionInteger::storeResult(fixedBitSizeInteger res,fixedBitSizeInteger prime){

        resultPairs.push_back(make_pair(res, prime));

}
userModularFunctionInteger::~userModularFunctionInteger(){

}
void userModularFunctionInteger::write_to_ostream(ostream& os){
    for(size_t i=0; i < resultPairs.size(); i++){
        os << "r," << resultPairs[i].first << ','<< resultPairs[i].second<<'|';
    }
}



